﻿//创建时间: 2010-10-11
//创建作者: 李 城
//功能说明: 录入限制管理
//最后修改: 2010-10-11
using System;
using System.Collections.Generic;
using System.Text;

using TRPOP.Common;

namespace TRPOP.CMS.Model
{
    [Serializable]
    public class FormInputLimitTypeInfo
    {
        #region 私有变量
        private int m_intFormInputLimitTypeId = 0;
        private string m_strName = "";
        private string m_strRegStr = "";
        private string m_strKeyWord = "";
        #endregion

        #region 成员函数

        /// <summary>
        ///  限制类型ID
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public int FormInputLimitTypeId
        {
            get
            {
                return m_intFormInputLimitTypeId;
            }
            set
            {
                m_intFormInputLimitTypeId = value;
            }
        }

        /// <summary>
        ///  类型名称
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public string Name
        {
            get
            {
                return m_strName;
            }
            set
            {
                m_strName = value;
            }
        }

        /// <summary>
        ///  正则规则
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public string RegStr
        {
            get
            {
                return m_strRegStr;
            }
            set
            {
                m_strRegStr = value;
            }
        }

        /// <summary>
        ///  Key
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public string KeyWord
        {
            get
            {
                return m_strKeyWord;
            }
            set
            {
                m_strKeyWord = value;
            }
        }

        #endregion

    }
}

